package com.tcp2.constant;

/**
 * Author: 树根
 * Time: 2017-8-10 15:03
 * Copyright (C) 2017 Xiamen Yaxon Networks CO.,LTD.
 */
public class Constants {
    public static String downLinkIp="127.0.0.1";
    public static int gnssCenterId=0;
    public static String username="123456";
    public static String pwd="123456";


    /**
     * 车辆拍照标识
     */
    public final static byte PHOTO_RES_FLAG_0 = 0x00; //不支持拍照
    public final static byte PHOTO_RES_FLAG_1 = 0x01; //完成拍照
    public final static byte PHOTO_RES_FLAG_2 = 0x02; //完成拍照，照片数据稍后上传
    public final static byte PHOTO_RES_FLAG_3 = 0x03; //未拍照（不在线）
    public final static byte PHOTO_RES_FLAG_4 = 0x04; //未拍照（无法使用指定摄像头）
    public final static byte PHOTO_RES_FLAG_5 = 0x05; //未拍照（其他原因）
    public final static byte PHOTO_RES_FLAG_9 = 0x09; //车牌号码错误
    /**
     * 图片大小
     */
    public final static byte PHOTO_SIZE_TYPE_1 = 0x01;//320x240
    public final static byte PHOTO_SIZE_TYPE_2 = 0x02;//640x48
    public final static byte PHOTO_SIZE_TYPE_3 = 0x03;//800x600
    public final static byte PHOTO_SIZE_TYPE_4 = 0x04;//1024x76
    public final static byte PHOTO_SIZE_TYPE_5 = 0x05;//176x144[QCIF]
    public final static byte PHOTO_SIZE_TYPE_6 = 0x06;//352*288[CIF]
    public final static byte PHOTO_SIZE_TYPE_7 = 0x07;//704*288[HALF D1]
    public final static byte PHOTO_SIZE_TYPE_8 = 0x08;//704*576[D1]

    /**
     * 图片格式
     */
    public final static byte PHOTO_TYPE_1 = 0x01;//jpg
    public final static byte PHOTO_TYPE_2 = 0x02;//gif
    public final static byte PHOTO_TYPE_3 = 0x03;//tiff
    public final static byte PHOTO_TYPE_4 = 0x04;//png

}
